require('./model/connect')
const express = require('express')
const bodyParser = require('body-parser')
const { user } = require('./route/user')
const app = express()

app.use(bodyParser.urlencoded({ extended: true }))



app.use('/api', user)



// 监听端口
app.listen(8080)
console.log('服务器已经启动,端口8080');